package com.dlc.shop.bean.dto.wukong;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

/**
 * 白名单设置
 * @author TRACK
 */
public class WhiteListDTO {

    @Schema(description = "频道的唯一ID")
    private String channel_id;

    @Schema(description = "频道的类型 1.个人频道 2.群聊频道")
    private Integer channel_type;

    @Schema(description = "用户uid集合")
    private List<String> uids;

    public WhiteListDTO() {
    }

    public WhiteListDTO(String channel_id, List<String> uids) {
        this.channel_id = channel_id;
        this.channel_type = 2;
        this.uids = uids;
    }

    public String getChannel_id() {
        return channel_id;
    }

    public void setChannel_id(String channel_id) {
        this.channel_id = channel_id;
    }

    public Integer getChannel_type() {
        return channel_type;
    }

    public void setChannel_type(Integer channel_type) {
        this.channel_type = channel_type;
    }

    public List<String> getUids() {
        return uids;
    }

    public void setUids(List<String> uids) {
        this.uids = uids;
    }

    @Override
    public String toString() {
        return "WhiteListDTO{" +
                "channel_id='" + channel_id + '\'' +
                ", channel_type=" + channel_type +
                ", uids=" + uids +
                '}';
    }
}
